package com.example.hello.service.model;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Component
public class Blog {

	@Value("${com.example.demo.blog.value}")
	private String name;
	@Value("${com.example.demo.blog.number}")
	private int count;
	@Value("${com.example.demo.blog.bignumber}")
	private long totolCount;
	@Value("${com.example.demo.blog.test1}")
	private int test1;
	@Value("${com.example.demo.blog.test2}")
	private int test2;

	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}

	/**
	 * @param name
	 *            the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}

	/**
	 * @return the count
	 */
	public int getCount() {
		return count;
	}

	/**
	 * @param count
	 *            the count to set
	 */
	public void setCount(int count) {
		this.count = count;
	}

	/**
	 * @return the totolCount
	 */
	public long getTotolCount() {
		return totolCount;
	}

	/**
	 * @param totolCount
	 *            the totolCount to set
	 */
	public void setTotolCount(long totolCount) {
		this.totolCount = totolCount;
	}

	/**
	 * @return the test1
	 */
	public int getTest1() {
		return test1;
	}

	/**
	 * @param test1
	 *            the test1 to set
	 */
	public void setTest1(int test1) {
		this.test1 = test1;
	}

	/**
	 * @return the test2
	 */
	public int getTest2() {
		return test2;
	}

	/**
	 * @param test2
	 *            the test2 to set
	 */
	public void setTest2(int test2) {
		this.test2 = test2;
	}

}
